<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>
<%boolean even = true; %>
<bean:size id="fieldDisplayListSize" name="screenFieldsDisplayList" scope="request"/>
<logic:greaterThan value="0" name="fieldDisplayListSize">
    <logic:iterate name="screenFieldsDisplayList" id="fileldDisplay" indexId="idIndex"
                   type="com.scalar.chiptrack.commons.FieldProperty" scope="request">
        <% if (even) { %>
        <TR>
            <% }
                even = !even;
            %>

            <td class="NArialL">
                <bean:write name="fileldDisplay" property="fieldLabel"/>:
            </td>
            <td class="NArialL">
                <% if("true".equalsIgnoreCase(request.getParameter("isView"))) { %>
                    <bean:write name="fileldDisplay" property="fieldValue"/>
                <% } else { %>
                    <input type="text" size="25" name="<bean:write name="fileldDisplay" property="fieldName"/>" value="<bean:write name="fileldDisplay" property="fieldValue"/>" class="txfield">

                <% } %>
            </td>
            <%
                if (even) {
            %>

        </TR>
        <%}%>
    </logic:iterate>
    <%
        if (!even) {
    %>
    <TD class="NArialRS">&nbsp;</TD>
    <TD class="NArialRS">&nbsp;</TD>

</TR>
<%
    }
%>

</logic:greaterThan>